//-----------------------------------------------------------------------------
// Name: Barn.h
// Auth: Dante Ratto, Robert Darty, & Paul Godfrey
// Desc: Handles the creation, destruction and updating of a Barn
//-----------------------------------------------------------------------------

#ifndef _BARN_
#define _BARN_

//-----------------------------------------------------------------------------
// cBarn:
//-----------------------------------------------------------------------------
class cBarn
{
public:
	// Constructors:

	cBarn();
	~cBarn();

	// cBarn Methods:

	//-----------------------------------------------------------------------------
	void Move(float x, float z);
	// Desc: Changes the position in the plane that the Barn will be at.

	//-----------------------------------------------------------------------------
	void Rotate(float r);
	// Desc: Rotates the barn

	//-----------------------------------------------------------------------------
	void Draw();
	// Desc: Renders the Barn at its current position

private:
	// Members:
	float mXPosition;
	float mZPosition;
	float mRotate;
};

//-----------------------------------------------------------------------------
// Functions:
//-----------------------------------------------------------------------------
cBarn* GetBarn();

#endif